import request from '@/utils/request'

// 查询盒移位列表
export function listArchiveBoxMove(query) {
  return request({
    url: '/archive/ArchiveBoxMove/list',
    method: 'get',
    params: query
  })
}

// 查询盒移位详细
export function getArchiveBoxMove(id) {
  return request({
    url: '/archive/ArchiveBoxMove/' + id,
    method: 'get'
  })
}

// 新增盒移位
export function addArchiveBoxMove(data) {
  return request({
    url: '/archive/ArchiveBoxMove',
    method: 'post',
    data: data
  })
}

// 修改盒移位
export function updateArchiveBoxMove(data) {
  return request({
    url: '/archive/ArchiveBoxMove',
    method: 'put',
    data: data
  })
}

// 删除盒移位
export function delArchiveBoxMove(id) {
  return request({
    url: '/archive/ArchiveBoxMove/' + id,
    method: 'delete'
  })
}
